// Локальные
#include "fem/subdomain.h"

namespace fem
{
    void Subdomain::reorderBorderSegments(const QList<int> &new_segment_indices)
    {
        QList<int> new_segments;
        for(int i = 0; i < m_BorderSegments.size(); i++)
            new_segments.append(m_BorderSegments[new_segment_indices[i]]);
        m_BorderSegments = new_segments;
    }
}
